---
title: locals must not be reassigned.
i18nReady: true
githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
---

> **LocalsReassigned**: `locals` can not be assigned directly.

## 무엇이 잘못되었나요?
Astro global 또는 context에서 값이 `locals` 필드로 설정될 때 발생합니다.
